package top.yxqz.springmvc.msg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: 余小小
 * @date: 2023/4/26
 * @description：页面跳转控制层
 */
@Controller
public class PageController {
    /*
        跳转首页
     */
    @RequestMapping("/")
    public String goIndex() {
        return "index";
    }
}
